﻿using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace Mvc2.ViewComponentTest.V1
{
    [ViewComponent(Name = "V1Test")]
    public class V1TestViewComponent : ViewComponent
    {
        

        public async Task<IViewComponentResult> InvokeAsync()
        {
            return await Task.FromResult<IViewComponentResult>(View("Index"));
        }


    }
}
